package model;

import java.util.ArrayList;

public class Facility {
	private int id;
	private String status;
	private Sport sport;
	private ArrayList<FacilityReservation> facilityReservations;
	
	public String getStatus() {
		return status;
	}
	public void setStatus(String status) {
		this.status = status;
	}
	public Sport getSport() {
		return sport;
	}
	public void setSport(Sport sport) {
		this.sport = sport;
	}
	public ArrayList<FacilityReservation> getFacilityReservations() {
		return facilityReservations;
	}
	public void setFacilityReservations(ArrayList<FacilityReservation> facilityReservations) {
		this.facilityReservations = facilityReservations;
	}
	
	public void addFacilityReservation(FacilityReservation fRes)
	{
		facilityReservations.add(fRes);
	}
	public int getId() {
		return id;
	}
	public void setId(int id) {
		this.id = id;
	}

}
